<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>allOrders</title>
    <link rel="StyleSheet" href="/css/bootstrap.css" type="text/css" media="screen"/>
</head>
<body>
<div th:replace="Admin/choose">

</div>
<div id="Content">
    <table class="table table-hover">
        <tr class="table-warning" th:each="order:${orderList}">
            <td>
                <a th:text="${order.orderId}" th:href="@{/order/viewdetailorder(orderId=${order.orderId})}" > order.orderId </a>
            </td>

            <td th:text="${order.orderDate}"
                pattern="yyyy/MM/dd hh:mm:ss" >date</td>
            <td th:text="${order.totalPrice}"
                pattern="$#,##0.00" >price</td>
        </tr>
    </table>
</div>

</body>
</html>